8.A cloth showroom has announced the following festivel disocunt on purchase of items:
Amount of purchase Mill Cloth Disocunt(%) Handloom Disocunt(%)
Less than Rs.1000 2% 5%
Rs.1000 to Rs.5000 20% 25%
Rs.5001 to Rs.10000 40% 50%
Above 10000 50% 60%
Write a program compute the net amount paid by the customer. assume all required values to be inputted by the user. make use of if and switch structure.

Enter the amount of purchase:

Enter your choice

Mill Cloth

Handloom

Net amount to be paid: